package cate.game.role.friend.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFriend;
import cate.game.role.friend.Friend;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "好友新增（添加好友成功） の 通知")
public class FriendAddResp implements MsgOutput {

    @NoteField(value = "好友信息")
    public Friend friend;

    public FriendAddResp(Friend friend) {
        this.friend = friend;
    }

    public FriendAddResp() {}

    @Override
    public MsgConfig conf() {
        return MsgIdBFriend.ADD_RESP;
    }
}
